﻿using CommonLibrary.Utils;
using Sentry;
using System;
using System.IO;
using System.Threading.Tasks;
using TestProject.ClassTest;

namespace TestProject
{
    class Program
    {
        static void Main(string[] args)
        {
            SonClass sonClass = new SonClass();
            sonClass.Say();
            sonClass.Test();

            BaseClass baseClass = sonClass;
            baseClass.Say();
            baseClass.Test();

            //----------


            //BaseClass baseClass = new BaseClass();
            //baseClass.Say("bb");
            //baseClass.Test();

            //SonClass sonClass = (SonClass)baseClass;
            //sonClass.Say("aa");
            //sonClass.Test();


            //using (SentrySdk.Init("http://2d41f75990b545638cc0dbfca5358ca7@192.168.163.128:8888/2"))
            //{

            //}

            //try
            //{
            //    using var stream = File.Open("aaaa.key", FileMode.Open);
            //}
            //catch (Exception ex) { SentrySdk.CaptureException(ex); }

            Console.ReadLine();
        }

    }

}